.class Lcom/waiqin365/lightapp/syorder/w;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/syorder/w;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/w;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->dismissProgressDialog()V

    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/lightapp/syorder/b/a/n;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/syorder/b/a/n;->b()Z

    move-result v2

    if-eqz v2, :cond_5

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    move v3, v4

    :goto_1
    iget-object v2, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->f:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v3, v2, :cond_3

    move v5, v4

    :goto_2
    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v5, v2, :cond_1

    iget-object v2, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->f:Ljava/util/List;

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v6, v2, Lcom/waiqin365/lightapp/syorder/d/b;->v:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->v:Ljava/lang/String;

    invoke-virtual {v6, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->t:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->clear()V

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v6, v2, Lcom/waiqin365/lightapp/syorder/d/b;->t:Ljava/util/List;

    iget-object v2, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->f:Ljava/util/List;

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->t:Ljava/util/List;

    invoke-interface {v6, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->r:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->clear()V

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v6, v2, Lcom/waiqin365/lightapp/syorder/d/b;->r:Ljava/util/List;

    iget-object v2, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->f:Ljava/util/List;

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->r:Ljava/util/List;

    invoke-interface {v6, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->u:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->clear()V

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v6, v2, Lcom/waiqin365/lightapp/syorder/d/b;->u:Ljava/util/List;

    iget-object v2, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->f:Ljava/util/List;

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->u:Ljava/util/List;

    invoke-interface {v6, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->s:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->clear()V

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/a;->M:Ljava/util/List;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v5, v2, Lcom/waiqin365/lightapp/syorder/d/b;->s:Ljava/util/List;

    iget-object v2, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->f:Ljava/util/List;

    invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/waiqin365/lightapp/syorder/d/b;

    iget-object v2, v2, Lcom/waiqin365/lightapp/syorder/d/b;->s:Ljava/util/List;

    invoke-interface {v5, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_1
    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto/16 :goto_1

    :cond_2
    add-int/lit8 v2, v5, 0x1

    move v5, v2

    goto/16 :goto_2

    :cond_3
    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->p(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/v;

    move-result-object v1

    sget-object v2, Lcom/waiqin365/lightapp/syorder/v;->b:Lcom/waiqin365/lightapp/syorder/v;

    if-ne v1, v2, :cond_4

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->q(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)V

    goto/16 :goto_0

    :cond_4
    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->r(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)V

    goto/16 :goto_0

    :cond_5
    iget-object v1, v1, Lcom/waiqin365/lightapp/syorder/b/a/n;->c:Ljava/lang/String;

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_6

    const-string/jumbo v1, "\u83b7\u53d6\u53c2\u6570\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5\uff01"

    :cond_6
    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->showToast(Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x3f5
        :pswitch_0
    .end packed-switch
.end method
